Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.core.opencmis.atom.config

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.opencmis.atom.config">

  <!-- the /atom/cmis part is defined in the servlet mapping in deployment-fragment.xml -->

  <extension
    target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
    point="filterConfig">
    <filterConfig name="cmis-atom" transactional="true">
      <pattern>${org.nuxeo.ecm.contextPath}/atom/cmis(/.*)?</pattern>
    </filterConfig>
  </extension>

  <!-- make sure no redirect for authentication happens -->
  <extension
    target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="authenticators">
    <authenticationPlugin name="BASIC_AUTH"
      enabled="true"
      class="org.nuxeo.ecm.platform.ui.web.auth.plugins.BasicAuthenticator">
      <parameters>
        <parameter name="ForcePromptURL_CMISAtomPub">atom/cmis</parameter>
      </parameters>
    </authenticationPlugin>
  </extension>

</component>